package org.jeecg.modules.order.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: ces_order_comment
 * @Author: jeecg-boot
 * @Date:   2023-03-24
 * @Version: V1.0
 */
@Data
@TableName("ces_order_comment")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ces_order_comment对象", description="ces_order_comment")
public class CesOrderComment implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**关联租户*/
	@Excel(name = "关联租户", width = 15)
    @ApiModelProperty(value = "关联租户")
    private String tenantId;
	/**关联酒店*/
	@Excel(name = "关联酒店", width = 15)
    @ApiModelProperty(value = "关联酒店")
    private String hotelId;
	/**父级评价ID*/
	@Excel(name = "父级评价ID", width = 15)
    @ApiModelProperty(value = "父级评价ID")
    private String commentId;
	/**评价1-5星*/
	@Excel(name = "评价1-5星", width = 15)
    @ApiModelProperty(value = "评价1-5星")
    private Integer score;
	/**评价用户ID*/
	@Excel(name = "评价用户ID", width = 15)
    @ApiModelProperty(value = "评价用户ID")
    private String userId;
	/**评价类型 1 酒店 2商品*/
	@Excel(name = "评价类型 1 酒店 2商品", width = 15)
    @ApiModelProperty(value = "评价类型 1 酒店 2商品")
    private Integer commentType;
	/**评价商品/订单ID*/
	@Excel(name = "评价商品/订单ID", width = 15)
    @ApiModelProperty(value = "评价商品/订单ID")
    private String orderId;
	/**评价图片逗号分隔*/
	@Excel(name = "评价图片逗号分隔", width = 15)
    @ApiModelProperty(value = "评价图片逗号分隔")
    private String images;
	/**评价内容*/
	@Excel(name = "评价内容", width = 15)
    @ApiModelProperty(value = "评价内容")
    private String contentBody;
	/**商家回复*/
	@Excel(name = "商家回复", width = 15)
    @ApiModelProperty(value = "商家回复")
    private String sellerContent;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

	@TableField(exist = false)
	private String hotelName;
}
